define(['jquery'], () => {
    class Footer {
        constructor () {
            this.loadFooterHtml().then(() => {

            })
        } 
        loadFooterHtml(){
            return new Promise((resolve) => {
                $('.footer').load("/html/modules/footer.html",resolve)
            })
        }
    }
    return new Footer()
})